package com.ruoyi.web.Server.BT;

import com.ruoyi.web.domain.BT.TorrentDto;

import java.security.NoSuchAlgorithmException;

/**
 * @author Jrx
 */
public interface TorrentManager {

    TorrentDto parse(byte[] bytes);

    byte[] transform(byte[] bytes);

    byte[] infoHash(byte[] bytes) throws NoSuchAlgorithmException;

}
